Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing ListWidget escape button behavior #110760

Merged
merged 2 commits into from Nov 25, 2020
Merged

Fixing ListWidget escape button behavior #110760

merged 2 commits into from Nov 25, 2020

Conversation

aasimkhan30
Copy link
Contributor

I am changing how escape keys works in ListWidget.

Currently, the focus gets trapped inside the component when an escape key is pressed.

My proposed change unselects all the items on first escape (current logic) and then it lets the default behavior take over.

@aasimkhan30 aasimkhan30 changed the title Aasim/fix/list widget escape Fixing ListWidget escape button behavior Nov 17, 2020
@joaomoreno
Copy link
Member

joaomoreno commented Nov 17, 2020

Have you tested this? In what feature?

I ask because keyboard shortcuts are handled in a special way in the workbench, so this code shouldn't run on a lot of list instances.

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Nov 17, 2020
@aasimkhan30
Copy link
Contributor Author

I did test this in quickInput component and it seems to work fine. Is there anything in particular that you want me to test?

@joaomoreno
Copy link
Member

Can you please provide a screen recording of the issue?

@joaomoreno joaomoreno added this to the November 2020 milestone Nov 25, 2020
@joaomoreno joaomoreno added list-widget List widget issues and removed info-needed Issue requires more information from poster labels Nov 25, 2020
@joaomoreno joaomoreno merged commit 221a557 into microsoft:master Nov 25, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
list-widget List widget issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants